//import java.text.ParseException;
//import java.text.SimpleDateFormat;
//import java.util.Date;
//import java.util.Scanner;
//
//public class Test0427{
//    public static void main(String[] args) throws ParseException {
//        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
//        Scanner in = new Scanner(System.in);
//        String str1 = in.nextLine();
//
//        //write your code here......
//        String []arr=str1.split(" ");
//        if(arr.length!=6){
//            System.out.println("您输入的数据不合理");
//        }else{
//            String exam=arr[0]+"-"+arr[1]+"-"+arr[2]+" "+arr[3]+":"+arr[4]+":"+arr[5];
//            Date date=sdf.parse(exam);
//            System.out.println("北京时间为："+sdf.format(date.getTime()));
//            System.out.println("纽约时间为："+sdf.format(date.getTime()-(long)12*60*60*1000));
//        }
//
//
//    }
//}

import java.util.*;

public class Test0427{
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int score = scanner.nextInt();

        //write your code here......
        try{
            if(score>=0&&score<=100){
                System.out.println(score);
            }else{
                throw new ScoreException("分数不合法");
            }
        }catch(ScoreException str){
            System.out.println(str.getMessage());
        }

    }
}

class ScoreException extends Exception {

    //write your code here......
    public ScoreException(String message){
        super(message);
    }


}